package com.yqkj.zysoft.upms.entity.dto;

import  com.project.easy.common.util.tree.TreeNode;
import lombok.Data;

import java.util.Date;

/**
* @Author: yangchao.cool
* @Date: 2022/9/12 10:09
 * Description: 部门树
*/
@Data
public class DepartTreeResponse extends TreeNode<Long, Long> {

    /**
     * 联系人电话
     */
    private String phone;

    /**
     * 邮件
     */
    private String email;



    /**
     * 负责人名称
     */
    private String leadName;

    /**
     * 上级ID
     */
    private Long parentId;

    /**
     * 上级编码
     */
    private String parentName;

    /**
     * 排序
     */
    private Integer sort;
    /**
     * 状态
     */
    private Boolean status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     *
     */
    private String value;

    private String label;



    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLeadName() {
        return leadName;
    }

    public void setLeadName(String leadName) {
        this.leadName = leadName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
